<?


/**
 * class EVideos
 * 
 */
class EVideos_vidwiz extends Entity_vidwiz{

  public $publisher_username;

  public $description;

  public $metatags;

  public $title;

  /**
   * Y-m-d H:i
   * @access public
   */
  public $upload_date;

  public $file_position;

  public $id;

  public $category;

  public $thumb;

  public $converted;
  
  public $breaking;
  
  public $post_id;

  /**
   * 
   *
   * @param array _fields i campi ['nomecampo']=>"valore"
   * @return entities::EVideos
   * @access public
   */
  public function generateObject($fields) {
        foreach($this as $key => $value){
            if(isset($fields[$key]))
                $this->$key = $fields[$key];
                }
        $this->upload_date = date("Y-m-d H:i");
        $this->id = "";
        return $this;
    }

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getPublisher_username( ) {
      return $this->publisher_username;
  } // end of member function getPublisher_username

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getDescription( ) {
      return $this->description;
  } // end of member function getDescription

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getMetatags( ) {
      return $this->metatags;
  } // end of member function getMetatags

  /**
   * 
   *
   * @return array
   * @access public
   */
  public function getMetatags_arr( ) {
      $metatags = explode(",", $this->metatags);
      return $metatags;
  } // end of member function getMetatags_arr

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getTitle( ) {
      return $this->title;
  } // end of member function getTitle

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getUpload_date( ) {
      return $this->upload_date;
  } // end of member function getUpload_date

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getFile_position( ) {
      return $this->file_position;
  } // end of member function getFile_position

  /**
   * 
   *
   * @return int
   * @access public
   */
  public function getId( ) {
      return $this->id;
  } // end of member function getId

  /**
   * 
   *
   * @return int
   * @access public
   */
  public function getCategory( ) {
      return $this->category;
  } // end of member function getCategory

  /**
   * 
   *
   * @return string
   * @access public
   */
  public function getThumb( ) {
      return $this->thumb;
  } // end of member function getThumb





} // end of EVideos
?>
